import React, { Component } from 'react';
import { View, Button, Text } from 'react-native';
import { Actions } from 'react-native-router-flux';

export default class MissionDetail extends Component {
  go = () => {
    Actions.pop();
  }
  render() {
    return (
      <View>
        <Text>Mission Detail</Text>
        <Button onPress={this.go} title="back to List" />
      </View>
    );
  }
}
